package jmu.edu.yjc.domain.entity;

import java.util.Date;
import java.io.Serializable;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
 * 消息记录表(Message)表实体类
 *
 * @author makejava
 * @since 2023-01-20 19:09:47
 */
@SuppressWarnings("serial")
@Data
@AllArgsConstructor
@NoArgsConstructor
@TableName("t_message")
public class Message {
    //消息ID
    private Long id;
    //消息内容
    private String message;
    private String messageId;
    private String type;
    //消息状态,0正常发送,1撤回
    private String messageStatus;
    //发送者id
    private Long fromUserId;
    //接收者id
    private Long toUserId;
    //是否已读 0已读1未读
    private String isCheck;
    //创建者
    @TableField(fill = FieldFill.INSERT)
    private Long createBy;
    //创建时间
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;
    //更新者
    @TableField(fill = FieldFill.UPDATE)
    private Long updateBy;
    //更新时间
    @TableField(fill = FieldFill.UPDATE)
    private Date updateTime;
    private String fileName;
    private String fileSize;
    private String delFlag;

}

